#ifndef KEYWORDSEARCH_H
#define KEYWORDSEARCH_H

#include <QtGui>
#include "resultItem.h"

class QLineEdit;
class QPushButton;
class QListView;
class ResultItem;
class QGridLayout;
class QGroupBox;

class KeyWordSearch : public QDialog
{
    Q_OBJECT

public:
    KeyWordSearch(QWidget *parent = 0);

private slots:
    void searchDevice();

private:
    QPushButton *searchBtn;
    QLineEdit *searchLineEdit;
    QListView *resultView;
    QGridLayout *bottomLayout;
    QGroupBox *groupBox;

    QPushButton *pageUp;
    QPushButton *pageDown;

    ResultItem *item[10];
};

#endif // KEYWORDSEARCH_H
